import request from '@/utils/request'
//查询全部
export function getList(pageNum,pageSize,productCode) {
  return request({
    url: '/warehouse/stockInDetails/findAllInventory/'+pageNum+'/'+pageSize,
    method: 'post',
    data: productCode
  })
}
//查询单品
export function getSingleList(pageNum,pageSize,singleOrNormal) {
  return request({
    url: '/warehouse/stockInDetails/findAllInventory/'+pageNum+'/'+pageSize,
    method: 'post',
    data: singleOrNormal
  })
}
//查询通品
export function getNormalList(pageNum,pageSize,singleOrNormal) {
  return request({
    url: '/warehouse/stockInDetails/findAllInventory/'+pageNum+'/'+pageSize,
    method: 'post',
    data: singleOrNormal
  })
}